#!/usr/bin/env node

const me={},
      stdout = process.stdout,
      stdin = process.stdin,
      msg=['name','email','qq','mobile'];
let i=0;

stdout.write(msg[i] + ':');
stdin.on('data',data=>{
  me[msg[i++]] = data.toString('utf8');
  if(i>3){
    console.log(me);
    process.exit();
  }else{
    stdout.write(msg[i] + ':');
  }
});
stdin.on('end',()=>{
  console.log(me);
});
